from DataAccess.DBConnFactory import DBConnFactory

	
class Serializable:	
	db_table = ""
	
	def persistence(self):
		raise NotImplementedError
		
		
class CashFlow(Serializable):
	def __init__(self, ref_date, amt, curncy, entity):
		self.ref_date = ref_date
		self.amt = amt
		self.curncy = curncy
		self.entity = entity
		
	def reference_date(self):
		return self.ref_date
		
	#Fee::amount is settlement amount
	def amount(self):
		return self.amt
		
	def currency(self):
		return self.curncy
					
	

		
		